import { createApp } from 'vue'
import router from './router'
import './style.css'
import App from './App.vue'
import 'vant/lib/index.css';
import Vue from 'vue'
import { 
    Tabbar,
    TabbarItem ,
    Swipe, 
    SwipeItem,
    Lazyload,
    Toast ,
    Popup ,
    DropdownMenu,
    DropdownItem,
    Search ,
    Empty 
  } from 'vant';


 

const app=createApp(App)
app.use(router)
app.prototype.$Toast=Toast
[Tabbar, TabbarItem,Swipe,Empty , SwipeItem,Lazyload,Popup,Search ,DropdownMenu, DropdownItem  ].forEach(item=>app.use(item))
app.mount('#app')
